package com.bkhc.partner.repository;

import com.bkhc.partner.entity.Partner;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface PartnerRepository extends JpaRepository<Partner,String>, JpaSpecificationExecutor<Partner> {


    Partner findByPartnerCode(String partnerCode);

    void deleteByPartnerCode(String partnerCode);
}
